1 //! moment.js locale configuration
3 ;(function (global
, factory
) {
4 typeof exports
=== 'object' && typeof module
!== 'undefined'
5 && typeof require
=== 'function' ? factory(require('../moment')) :
6 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
8 }(this, (function (moment
) { 'use strict';
11 var sv
= moment
.defineLocale('sv', {
12 months
: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
13 monthsShort
: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
14 weekdays
: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
15 weekdaysShort
: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
16 weekdaysMin
: 'sö_må_ti_on_to_fr_lö'.split('_'),
22 LLL
: 'D MMMM YYYY [kl.] HH:mm',
23 LLLL
: 'dddd D MMMM YYYY [kl.] HH:mm',
24 lll
: 'D MMM YYYY HH:mm',
25 llll
: 'ddd D MMM YYYY HH:mm'
29 nextDay
: '[Imorgon] LT',
31 nextWeek
: '[På] dddd LT',
32 lastWeek
: '[I] dddd[s] LT',
37 past
: 'för %s sedan',
51 dayOfMonthOrdinalParse
: /\d{1,2}(e|a)/,
52 ordinal : function (number
) {
54 output
= (~~(number
% 100 / 10) === 1) ? 'e' :
57 (b
=== 3) ? 'e' : 'e';
58 return number
+ output
;
61 dow
: 1, // Monday is the first day of the week.
62 doy
: 4 // The week that contains Jan 4th is the first week of the year.